package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingPlanDto;
import com.zzyl.vo.NursingPlanVo;

import java.util.List;

public interface NursingPlanService {
    /**
     * 查询所有护理计划
     * @return
     */
    List<NursingPlanVo> findNursingPlanServiceList();

    /**
     * 分页查询
     * @param name
     * @param pageNum
     * @param pageSize
     * @param status
     * @return
     */
    PageResponse<NursingPlanVo> pageNursingPlanServiceList(String name, Integer pageNum, Integer pageSize, Integer status);

    /**
     * 新增护理计划
     * @param nursingPlanDto
     */
    void addNursingPlan(NursingPlanDto nursingPlanDto);

    /**
     * 根据id查询护理计划
     * @param id
     * @return
     */
    NursingPlanVo getNursingPlanById(Long id);

    /**
     * 修改护理计划
     * @param id
     * @param nursingPlanDto
     */
    void updateNursingPlan(Long id, NursingPlanDto nursingPlanDto);

    /**
     * 根据id删除计划
     * @param id
     */
    void deleteById(Long id);

    /**
     * 根据id修改护理计划状态
     * @param id
     * @param status
     */
    void updateStatus(Long id, Integer status);
}
